package com.alibaba.citrus.cr.sales.plan.api.salesplan.adjust;

import com.alibaba.citrus.cr.sales.plan.dto.api.request.PageQuerySalePlanAdjustRequest;
import com.alibaba.citrus.cr.sales.plan.dto.api.request.QuerySalesPlanAdjustRequest;
import com.alibaba.citrus.cr.sales.plan.sdo.SalesPlanSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import java.util.List;

/**
 * @author yuhailin
 * @description:
 * @date 2021-10-25 15:41
 */
@MeshFlowService(apps = {"bc_order"}, name = "salesPlanAdjustQueryService")
public interface SalesPlanAdjustQueryService {
    /**
     * 分页查询调整
     * @param pageQuerySalePlanAdjustRequest
     * @return
     */
    Result<PageResult<List<SalesPlanSDO>>> pageQuerySalesPlanAdjustList(PageQuerySalePlanAdjustRequest pageQuerySalePlanAdjustRequest);

    /**
     * 根据id查询月度调整计划
     * @param querySalesPlanAdjustRequest
     * @return
     */
    Result<SalesPlanSDO> querySalesPlanAdjust(QuerySalesPlanAdjustRequest querySalesPlanAdjustRequest);

}
